package BLL;

import java.util.Vector;

import DAL.IVA_DAL;
import DTO.IVA_DTO;

public class IVA_BLL {	
	
	public static boolean inserir(final IVA_DTO iva){
		return IVA_DAL.inserir(iva);
	}
	
	public static boolean actualizar(final IVA_DTO iva){
		return IVA_DAL.actualizar(iva);
	}
	
	public static boolean remover(final int id_iva){
		return IVA_DAL.remover(id_iva);
	}
	
	public static Vector<IVA_DTO> listar() throws Exception {
		Vector<IVA_DTO> i = new Vector<IVA_DTO>();
		if(i.isEmpty())
			return null;
		return i;
	}
	
	public static IVA_DTO iva(final int id_iva) throws Exception{
		return IVA_DAL.iva(id_iva);
	}
	
}
